package com.lichuang.fruitvarietysm.goods.service;

import com.lichuang.fruitvarietysm.goods.entity.GoodsCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shuaihang
 * @since 2019-06-05
 */
public interface IGoodsCollectionService extends IService<GoodsCollection> {
    /**
     * 根据商品id查有多少人收藏，即多少人气值
     * @param goods_id
     * @return
     */
    int sCountCollection(@Param("goods_id")Integer goods_id);
}
